package com.reebake.ideal.storage.client;

import com.reebake.ideal.storage.entity.FileInfoDTO;
import com.reebake.ideal.storage.entity.PresignedUrlParam;
import com.reebake.ideal.storage.entity.PresignedUrlResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface FilePresignedClient {

    @PostMapping("presigned")
    public PresignedUrlResult presigned(@RequestBody PresignedUrlParam presignedUrlParam);

    @PostMapping("presigned/record")
    public FileInfoDTO record(@RequestBody PresignedUrlParam presignedUrlParam);
}
